home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 3-011 yo! joe! / 1.img / INSTALL.BAT < prev   
DOS Batch File  |  1993-09-11  |  3KB  |  63 lines

  1. @echo off
  2. set tp=\JOE
  3. set sp=\DATA
  4. cls
  5. echo ╔═══════════════════════════════════════════════════════════════════════════╗
  6. echo ║                               YO! JOE!                                    ║
  7. echo ║         (c) 1993 by SCIPIO. Cracked 11/9 1993 by The Dream Team           ║
  8. echo ╠═══════════════════════════════════════════════════════════════════════════╣
  9. if %2x == x goto error0
  10. if %1 == %2 goto error0
  11. IF EXIST %2%tp%\JOE.EXE GOTO error_exist
  12. echo ║ REMARK: Press [CTRL & C] to interrupt install-procedure !                 ║
  13. echo ║                                                                           ║
  14. echo ╚═══════════════════════════════════════════════════════════════════════════╝
  15. echo.
  16. echo           Install:
  17. echo           ────────
  18. echo.
  19. echo           SOURCEDRIVE         : %1
  20. echo           TARGETDRIVE         : %2
  21. echo.
  22. echo     REMARK : YOU NEED AT ABOUT 6 MB ON THE TARGETDRIVE !
  23. echo.
  24. echo ╔═══════════════════════════════════════════════════════════════════════════╗
  25. echo ║                                                                           ║
  26. echo ║                                                                           ║
  27. echo ╟───────────────────────────────────────────────────────────────────────────╢
  28. echo ║                      Please press a key to continue !                     ║
  29. echo ╚═══════════════════════════════════════════════════════════════════════════╝
  30. pause > nul
  31. md %2%tp%  > nul
  32. cd %2%tp%
  33. %2
  34. copy %1%\inst2.$$$ inst2.bat >nul
  35. copy %1%\data\unpack.exe     >nul
  36. md %2%tp%\SOUND > nul
  37. inst2 %1%sp% %2%tp%  %1
  38.  
  39. :error0
  40. echo ║ ERROR   : Illegal parameters !                                            ║
  41. echo ║                                                                           ║
  42. echo ╟───────────────────────────────────────────────────────────────────────────╢
  43. echo ║ The correct call of INSTALL:                                              ║
  44. echo ║                                                                           ║
  45. echo ║ INSTALL [SOURCEDRIVE:] [DESTINATIONDRIVE:]                                ║
  46. echo ║                                                                           ║
  47. echo ╟───────────────────────────────────────────────────────────────────────────╢
  48. echo ║ EXAMPLE  : To install YO! JOE! from diskdrive A: to your                  ║
  49. echo ║            harddisk C: enter                                              ║
  50. echo ║                                                                           ║
  51. echo ║            INSTALL A: C:                                                  ║
  52. echo ║                                                                           ║
  53. echo ╚═══════════════════════════════════════════════════════════════════════════╝
  54. goto ende:
  55. :error_exist
  56. echo ║ WARNING !                                                                 ║
  57. echo ║ YO! JOE! already installed on targetdrive.                                ║
  58. echo ║                                                                           ║
  59. echo ╚═══════════════════════════════════════════════════════════════════════════╝
  60. goto ende
  61. :ende
  62.  
  63.